package com.myclasses;

public class EventItemBean{
	private String comment;
	private String startTime;
	private String endTime;
	
	public EventItemBean(String start, String end, String comment) {
		this.comment = comment;
		this.startTime = start;
		this.endTime = end;
	}
	
	public String getComment(){return this.comment;}
	public void setComment(String comment){this.comment = comment;}

	public String getStartTime(){return this.startTime;}
	public void setStartTime(String startTime){this.startTime = startTime;}
	
	public String getEndTime(){return this.endTime;}
	public void setEndTime(String endTime){this.endTime = endTime;}	

	public String toString() {
	    return this.comment + " (" + this.startTime + "-" + this.endTime + ")";
	}
}